package net.chathu.airgw.packets.gw.serverpackets 
{
	import net.chathu.airgw.Config;
	/**
	 * ...
	 * @author ze
	 */
	public class WhoisIdlePacket implements ISendableIRCPacket 
	{
		
		
		private static const _head:String = " 317 ";

		private var _nick:String;
		private var _whoisnick:String;
		private var _signontime:int;
		
		public function WhoisIdlePacket(nick:String, whoisnick:String, signontime:int) 
		{
			_nick = nick;
			_whoisnick = whoisnick;
			_signontime = signontime;
		}
		
		public function getMessage():String
		{
			return ":" + Config.IRC_HOST + _head + _nick + " " + _whoisnick + " "  + _signontime + ": signon time\n";
		}
		
	}

}